﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using EHRForce.Helpers;
using EHRForce.Models;

namespace EHRForce.Models
{
    public class PatientFormViewModel
    {
        //Properties
        public Patient Patient { get; private set; }
        public SelectList Countries { get; private set; }

        // Constructor
        public PatientFormViewModel(Patient patient)
        {
            Patient = patient;
            Countries = new SelectList(PhoneValidator.Countries, patient.City);
        }
    }
}
